fun main(args: Array<String>) {

    println("Hello")

    vars(1,3,5,6)

    println(sum(23,13))

    testforwhilewhen()

}

fun testforwhilewhen():Unit{



    val items= listOf<String>("apple", "banana", "kiwifruit")

    for (item in items) {

        println(item)
    }
}

fun sum(a:Int,b:Int)=a+b

fun vars(vararg n:Int){

    for (i in n) {

        println(i)
    }
}